package com.by.entity.sys;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class DeptBean {

    @NotBlank(message = "部门名称不能为空!")
    String name;

    @NotNull(message = "上级部门不能为空")
    String parentId;
    int isBrand;

    String code;
}
